<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <script src="../../js/jquery3.js" type="text/javascript" charset="utf-8"></script>
    <script src="../../layui/layui.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all">
    <title>日志详情</title>
</head>

<style type="text/css">
    html, body {
        overflow-y: hidden;
        height: 100%;
    }

    #info {
        margin:5px auto;
        width: 96%;
        height: 100%;
        background-color: #FFFFFF;
    }

    .title {
        padding-top: 20px;
        padding-left: 20px;
    }

    #timeStyle {
        float: left;
        margin-left: 20px;
        margin-top: 10px;
        width: 95%;
    }

    #text_info {
        margin-left: 20px;
        margin-top: 80px;
    }
</style>

<body bgcolor="#f4a460">

<div id="info">
    <h1 class="title" id="title"></h1>
    <div id="timeStyle">
        <blockquote class="layui-elem-quote">
            <span class="time layui-icon layui-icon-date" id="date" style="font-size: 15px;color: rgba(0,0,0,.75)"></span>
            <span class="people layui-icon layui-icon-user"  id="u_name" style="padding-left: 20px ;font-size: 15px;color: rgba(0,0,0,.75)"></span>

            <span style="float: right;"><a href="" style="color: cornflowerblue">编辑</a></span>
        </blockquote>

    </div>

    <div id="text_info" >

    </div>
</div>

</body>
<script src="../../js/getParameter.js"></script>
<script>
    let u_id = getParameter("u_id");
    let l_id = getParameter("l_id");
    let u_name = getParameter("u_name");
    $.post("/log/findById", {u_id: u_id, l_id: l_id}, function (res) {
        $("#title").html(res.l_title);

        $("#date").html(res.l_date);
        $("#text_info").html(res.l_content);
        $("#u_name").html(u_name);
    })
</script>
</html>
